package com.googlecode.ocl2sqlcompiler;

import java.io.FileReader;

/**
 * @author Renato Miceli
 */
public class ParserMain {

	public static void main(String[] args) {

		final String inputFile = "resources/inits.txt";

		OCLParser parser = null;
		try {
			parser = new OCLParser(new OCLScanner(new FileReader(inputFile)));
			parser.parse();
		} catch (Exception e) {
			System.out.println("\n\n\n=>>>>>>>>Cancelling compilation now!<<<<<<<<<=");
			System.out.flush();
			e.printStackTrace();
		}
	}

}
